<template>
  <div class="mobile bgImg" :style="{
    'background-image': `url(${ backgroundImg })`
  }">
    <slot></slot>
  </div>  
</template>

<script lang="ts" setup>
  defineProps({
    backgroundImg: {
      type: String
    }
  })
</script>

<style lang="less" scoped>
  .mobile {
    width: 375px;
    height: 750px;
    border-radius: 10px;
    background-color: #fff;
  }
  .bgImg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
</style>